
import config from '@/config/config.js';
import http from '@/api/http.js'
let menuRequest={
    getAll(callBack){
        // 获取token
        let token = localStorage.getItem("token");
        if(token){
            http.get(config.sysBaseUrl + "/menu/list",callBack);
        }else{
            callBack(undefined);
        }
    }
}

export default menuRequest;